module.exports = {
  publicPath: "./",
  devServer: {
    host: "192.168.1.37",
    port: "8080",
    https: false,
    open: true,
    proxy: {
      "/api": {
        target: "https://autumnfish.cn", //域名
        changeOrigin: true, //开启代理
        pathRewrite: {
          "^/api": "" //这里是指替代
        }
      }
    }
  },
  css: {
    loaderOptions: {
      less: {
        javascriptEnabled: true
      }
    }
  }
};
